import {useHistory} from 'react-router-dom'
import React from 'react'
const Home :React.FC =()=>{
    const history = useHistory()
    const go = ()=>{
        history.push("/Login")
    }
    return <button onClick={go}>url跳转</button>

}
export default Home